<template>
  <div>
    <router-view/>
    <van-tabbar route v-model="active" active-color="#face23">
      <van-tabbar-item to="/home" icon="wap-home">首页</van-tabbar-item>
      <van-tabbar-item to="/pet" icon="smile">宠物</van-tabbar-item>
      <van-tabbar-item to="/message" icon="umbrella-circle">分类</van-tabbar-item>
      <van-tabbar-item to="/mine" icon="contact">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data () {
    return {
      active: 0,
    }
  }
}
</script>

<style lang="scss" scoped>
.van-tabbar {
  height: 56px;
}
</style>